

function CF_AjaxCall(){
	this.GetAction = function(url, params,callback){
	
			// Callback object for operation
		var cb_do_syncval =
			{
			  success: callback,
			  failure: callback,
			  argument: { target:"foo", bar:"bar" }
			};	
	
			var request_s = YAHOO.util.Connect.asyncRequest('GET', url + '?' + params , cb_do_syncval); 
			
	
	}

	
	this.PostAction = function(url, params,callback){
		var theurl = 'me.php';
			// Callback object for operation
		var cb_do_syncval =
			{
			  success: callback,
			  failure: callback,
			  argument: { target:"foo", bar:"bar" }
			};	
	
			var request_s = YAHOO.util.Connect.asyncRequest('POST', url ,cb_do_syncval, params); 
			
	
	}	
	
	this.CallAction = function(url,params, callback, elementid, method){
			// Callback object for operation
		if(method == undefined ){
			method = 'POST';
			}
			
		var cb_do_syncval =
		{
		  success: callback,
		  failure: callback,
		  argument: { target: elementid, params: params }
		};	

		var request_s = YAHOO.util.Connect.asyncRequest('POST', url ,cb_do_syncval, params); 

	}
	
}